]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
layout: Remove use of skip_paint
authorJasper St. Pierre <jstpierre@mecheye.net>
Sat, 18 May 2013 23:23:46 +0000 (19:23 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Wed, 22 May 2013 16:11:19 +0000 (12:11 -0400)
We no longer use this on the uiGroup.

https://bugzilla.gnome.org/show_bug.cgi?id=700735

js/ui/layout.js

index 7ae6d49d41ddff2b6ec2d31fdeaf6e79dac98808..0d339d92177ef5c2df00fc9b44cd72ce23ead708 100644 (file)
@@ -960,13 +960,8 @@ const LayoutManager = new Lang.Class({
             w = Math.round(w);
             h = Math.round(h);
 
-            if (actorData.affectsInputRegion && wantsInputRegion) {
-                let rect = new Meta.Rectangle({ x: x, y: y, width: w, height: h});
-
-                if (actorData.actor.get_paint_visibility() &&
-                    !this.uiGroup.get_skip_paint(actorData.actor))
-                    rects.push(rect);
-            }
+            if (actorData.affectsInputRegion && wantsInputRegion && actorData.actor.get_paint_visibility())
+                rects.push(new Meta.Rectangle({ x: x, y: y, width: w, height: h }));
 
             if (actorData.affectsStruts) {
                 // Limit struts to the size of the screen